package warrper;

public class MikDirDemo01 {
    public static void main(String[] args) {
        java.io.File file = new java.io.File("D:\\test");
        if (!file.exists()) {
            boolean flag = file.mkdir();
            System.exit(flag ? 1 : 0);
        }
        else {
            System.out.println("目录已存在");
        }
    }
}
